package com.dnjn.happiness.survey.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dnjn.happiness.survey.domain.CheckAnswer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 考核答案Mapper接口
 *
 * @author happiness
 * @date 2024-04-02
 */
public interface CheckAnswerMapper extends BaseMapper<CheckAnswer> {

    List<CheckAnswer> getAnswerByCheckItemId(Long checkItemId);

    List<CheckAnswer> getSupAnswer(@Param("checkItemId") Long checkItemId, @Param("superiorUserId") Long superiorUserId,@Param("subordinateUserId") Long subordinateUserId);

}
